﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlackBBS.Models.Data
{
    [Serializable]
    public class Message : ModelBase
    {
        public int MessageAreaId { get; set; }
        public int FromUserId { get; set; }
        public int ToUserId { get; set; }
        public bool IsRead { get; set; }
        public bool IsLocal { get; set; }
        public int NetworkId { get; set; }
        public string NetworkNode { get; set; }
        public string From { get; set; }
        public string To { get; set; }
        public string Cc { get; set; }
        public string Bcc { get; set; }
        public string Subject { get; set; }
        public string Body { get; set; }
        public DateTime Created { get; set; }
        public DateTime Received { get; set; }
        public IList<string> ReadByUserLogins { get; set; }
    }
}
